﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhiJiao.Models.Entities.Enums;

namespace ZhiJiao.Service.Dto
{
    public class AddAccountDto
    {
        public string? Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 配属角色
        /// </summary>
        public  List<string>? Role { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool Flag { get; set; }

        /// <summary>
        /// 用户类型
        /// 0 平台  1机构
        /// </summary>
        public UserType Type { get; set; }

        /// <summary>
        /// 机构ID
        /// </summary>
        public long? InsId { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

    }
}
